Represents a reader that can access packages stored in SharePoint.
Namespace: Microsoft.LearningComponents.SharePoint
Assembly: Microsoft.LearningComponents.SharePoint.dll
| C# |
|
public class SharePointPackageReader : PackageReader |
| Name | Description | |
| Ð | SharePointPackageReader (SharePointCacheSettings, SharePointFileLocation) | Creates a package reader to read the specified package from SharePoint. The package must be valid e-learning content.The package is read using the current user's credentials. |
| Ð | SharePointPackageReader (SharePointCacheSettings, SharePointFileLocation, bool) | Creates a package reader to read the specified package from SharePoint. This constructor optionally causes the file to be read from SharePoint using elevated permissions. |
| Name | Description | |
| ÐS | Create | Returns either a ZipPackageReader or LrmPackageReader, according to the type of package provided. Inherited from PackageReader. |
| Ð | CreateManifestNavigator () | Returns an XPathNavigator that points to the <manifest> node of the package manifest. Inherited from PackageReader. |
| Ï | Dispose | Releases all resources used by this object |
| Ð | Dispose () | This method supports the .NET Framework infrastructure and is not intended to be used directly from your code. Releases all resources used by the PackageReader. Inherited from PackageReader. |
| Ð | FileExists | Returns true if a file exists at the specified path and the caller has the required permissions. |
| Ð | GetFilePaths | Gets the list of package relative file paths of all files in the package. |
| Ð | GetFileStream | Returns a System.IO.Stream that can read the specified file. Inherited from PackageReader. |
| Ð | TransmitFile | Writes a file directly to a web page response. This method should be used whenever possible, as it has much better performance than reading a file into a stream and copying it to the response. |